package com.rojored.module.api
{

/**
 *  Signals an error in the loading of a module.
 */
public class LoadModuleErrorMsg
{

    //--------------------------------------------------------------------------
    //
    //  Constructor
    //
    //--------------------------------------------------------------------------

    /**
     *  Constructor
     */
    public function LoadModuleErrorMsg(moduleId:String = null,
                                       detail:String = null)
    {
        super();
        this.moduleId = moduleId;
        this.detail = detail;
    }

    //--------------------------------------------------------------------------
    //
    //  Properties
    //
    //--------------------------------------------------------------------------

    //--------------------------------------
    //  moduleId
    //--------------------------------------

    /**
     *  Id of the module which failed to load.
     */
    public var moduleId:String;

    //--------------------------------------
    //  detail
    //--------------------------------------

    /**
     *  Error detail for reporting purposes.
     */
    public var detail:String;
}
}
